<template>
  <mt-swipe :show-indicators="false">
    <mt-swipe-item v-for="item in lunbolist" :key="item.id">
      <img :src="item.img" :class="{ full:isfull }" />
    </mt-swipe-item>
  </mt-swipe>
</template>

<script>
export default {
  props: ["lunbolist", "isfull"]
};
</script>

<style lang="scss" scoped>
.mint-swipe {
  height: 200px;
  text-align: center;
}

img {
  height: 100%;
}
//自己定义的class类，用于实现宽度是否100%
.full {
  width: 100%;
}
</style>